'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  // users
  router.get('/user', controller.user.index)
  router.get('/user/register', controller.user.register)
};
